{extend name="collect/show"/}
{block name="body"}
  <form id="form" method="post">
    <table id="table" class="table table-striped table-bordered table-hover" style="margin-top: 0px;" width="100%">
      <thead>
        <tr>
              <th style="text-align:center;vertical-align: middle; width:5%"> <label class="pretty success">
                <input type="checkbox" id="checkall" class="delcheckall">
                <label><i class="mdi mdi-check"></i></label>
                </label>
          </th>
          <th style="text-align:center;vertical-align: middle;width:10%">{$model.title}ID</th>
          <th style="text-align:center;vertical-align: middle;width:12%">{$model.title}分类</th>
          <th style="text-align:left;vertical-align: middle;width:45%"">{$model.title}名称</th>
          <th style="text-align:center;vertical-align: middle;">更新时间</th>
        </tr>
      </thead>
      <tbody>
      {notempty name="data"}
      {volist name="data" id="vo"}
      <tr>
      <td class="bs-checkbox" style="text-align:center;vertical-align:middle; font-size:14px"><label class="pretty success">
       <input type="checkbox" name="id[]" value="{$vo[$model.name.'_id']}" id="checkbox">
       <label><i class="mdi mdi-check"></i></label>
       </label></td>
        <td style="text-align:center;vertical-align:middle;">{$vo[$model.name.'_id']}</td>
        <td style="text-align:center;vertical-align:middle;">{$vo.list_name}</td>
        <td style="text-align:left;vertical-align:middle;">{$vo[$model.name.'_name']} <a href="{:url('admin/'.$model['name'].'/index',array('wd'=>$vo[$model.name.'_name']))}" target="_blank" style="color:#FF0000">查</a></td>
        <td style="text-align:center;vertical-align: middle;">{$vo[$model.name.'_addtime']|time_today='color'}</td>
      </tr>
      {/volist}
      {else/}
      <tr>
        <td style="text-align:center;vertical-align: middle;" colspan="6" >抱歉，没有找到相关内容！</td>
      </tr>
      {/notempty}
      </tbody>
    </table>
  </form>
  {/block}